<?php

namespace app\api\controller;

use think\Controller;

class Pops extends Father
{
    //弹窗
    public function randPop(){
        $data = model('pops')->order('rand()')->find();

        return json($data);

    }
}
